package com.driving.single.common.redis.service;

import com.driving.single.common.entity.RecommendResult;
import com.driving.single.frontend.portal.dto.PortalAdDTO;

import java.util.List;

public interface CommonRedisFrontendPortalService {
    Integer insertRedisFrontendContentWithCid(List<PortalAdDTO> tbContents, Long cid);

    List<PortalAdDTO> selectRedisFrontendContentWithCid(Long cid);

    List<RecommendResult> selectRedisRecommendContentWithCid(Long cid);

    Integer insertRedisRecommendContentWithCid(List<RecommendResult> recommendResults, Long cid);
}
